package com.hxp.hnote.activity;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

import com.hxp.hnote.R;

/**
 * Created by hxp on 17-8-11.
 */

public class MainAty extends Activity implements OnClickListener {

    private Button mBtn_main_save;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.aty_main);
        mBtn_main_save = findViewById(R.id.btn_main_save);
        mBtn_main_save.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        Toast.makeText(this, "保存", Toast.LENGTH_SHORT).show();
    }
}
